/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package TimeRecording.widgets;

import javax.swing.JFormattedTextField;
import javax.swing.JFormattedTextField.AbstractFormatter;
import javax.swing.JFormattedTextField.AbstractFormatterFactory;

/**
 *
 * @author dpatchett
 */
public class FloatFormatterFactory extends AbstractFormatterFactory {

    private static FloatFormatter floatFormatter = new FloatFormatter();

    @Override
    public AbstractFormatter getFormatter(JFormattedTextField tf) {
        return floatFormatter;
    }
}
